package com.cwl.service;

import java.util.ArrayList;

import com.cwl.domain.Questions;

public interface QuestionService {
	public Questions findById(Integer qid);
	public int getRandom(int n);
	public int[] putArray(int j);
	public int getQid(int index,int n);
	public int[] getArray();
	public String[] toArray(String qids);
	public int[] compare(String[] a,String[] b);
	public int getScoreSum(int[] a , int[] b);
	public ArrayList<Integer> errorTitle(int[] f, int[] answerid);
	public ArrayList<Questions> findAll(int[] array);
	public int getCount();
	public void save(Questions questions);
}
